/**
 * @author sana_胡晓军
 * @date 2019-10-24 17:45
 */

export default class VError extends Error {
  private msg?: string;

  private show?: boolean;

  constructor(msg?: string, show?: boolean) {
    super();
    this.msg = msg;
    this.show = show;
    this.name = 'VError';
  }
}
